package com.note.app.dto.ai;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * AI对话历史响应DTO
 */
@Data
@Schema(description = "AI对话历史响应")
public class AIHistoryResponseDTO {
    
    /**
     * 会话ID
     */
    @Schema(description = "会话ID", example = "1")
    private Long id;
    
    /**
     * 用户ID
     */
    @Schema(description = "用户ID", example = "1")
    private Long userId;
    
    /**
     * 关联的笔记ID
     */
    @Schema(description = "关联的笔记ID", example = "1")
    private Long noteId;
    
    /**
     * AI模式
     */
    @Schema(description = "AI模式", example = "CREATE_NOTE")
    private String mode;
    
    /**
     * 用户提示词
     */
    @Schema(description = "用户提示词", example = "写一篇关于Spring Boot的入门教程")
    private String prompt;
    
    /**
     * AI响应内容摘要
     */
    @Schema(description = "AI响应内容摘要", example = "生成了一篇关于Spring Boot的入门教程...")
    private String responseSummary;
    
    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createdAt;
} 